Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2009 09:39:49 +0000 (09:39 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2009 09:39:49 +0000 (09:39 +0000)
(mouse-wheel-mode): New defvar.
(mouse-wheel-mode): Remove autoload cookie.

lisp/mwheel.el

index d457679d4f2db7cba325fe17c158a35ea9a8c2d8..31e26c14487f8d61b56f217ddfaf95753fb0ec7d 100644 (file)
@@ -41,6 +41,8 @@
 (require 'custom)
 (require 'timer)
 
+(defvar mouse-wheel-mode nil)
+
 ;; Setter function for mouse-button user-options.  Switch Mouse Wheel
 ;; mode off and on again so that the old button is unbound and
 ;; new button is bound to mwheel-scroll.
@@ -239,7 +241,6 @@ This should only be bound to mouse buttons 4 and 5."
 
 (defvar mwheel-installed-bindings nil)
 
-;;;###autoload
 (define-minor-mode mouse-wheel-mode
   "Toggle mouse wheel support.
 With prefix argument ARG, turn on if positive, otherwise off.